package cn.tx.dao;

import cn.tx.model.Emp;
import cn.tx.model.Grade;

import java.util.List;
import java.util.Map;

public interface EmpDao {

    public List<Emp> findAll();
    public int addEmp(Emp emp);
    public int updateEmpById(Emp emp);
    public int delete(String ids);


    public List<Emp> findList(Map<String,Object> querymap);
    public int findTotal(Map<String,Object> querymap);
}
